From 2313351af976798db2aaea0f3b8cfa7dcc383511 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=98yvind=20Kol=C3=A5s?= Date: Tue, 27 Nov 2018 20:41:23 +0100 Subject: [PATCH] babl: harmonize order of fields in image/model/format --- babl/babl-format.h | 4 ++-- babl/babl-image.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/babl/babl-format.h b/babl/babl-format.h index b3a4643..9ebdcec 100644 --- a/babl/babl-format.h +++ b/babl/babl-format.h @@ -28,13 +28,13 @@ typedef struct int components; BablComponent **component; BablType **type; - void *model_data; + BablModel *model; const Babl *space; + void *model_data; void *image_template; /* image template for use with linear (non-planer) images */ BablSampling **sampling; - BablModel *model; int bytes_per_pixel; int planar; double loss; /*< average relative error when converting diff --git a/babl/babl-image.h b/babl/babl-image.h index ea7d05a..c20c06e 100644 --- a/babl/babl-image.h +++ b/babl/babl-image.h @@ -48,10 +48,10 @@ typedef struct { BablInstance instance; BablFormat *format; /*< (if known) */ - BablModel *model; /*< (always known) */ int components; BablComponent **component; BablType **type; + BablModel *model; /*< (always known) */ BablSampling **sampling; char **data; int *pitch; -- 2.30.2